#ifndef ENEMY4_H
#define ENEMY4_H
#include<QPixmap>
#include"config.h"
#include"bullet1.h"

class enemy4
{
public:
    enemy4();
    void updatePosition();
    void setPosition4(int x,int y);
    void shoot4();
public:
    //敌机资源对象
    QPixmap m_enemy4;
    QPixmap m_enemy3;
    //敌机坐标
    int m_X;
    int m_Y;
    //敌机的矩形边框
    QRect m_Rect;
    //状态
    bool m_Free;
    //速度
    int m_Speed;
    //弹匣---数组
    bullet1 m_bullet1[BULLET_NUM1];
    //发射间隔时间记录
    int m_recorder=0;
    int record=0;

};

#endif // ENEMY4_H
